<?php
//dezend by http://www.yunlu99.com/ QQ:270656184
defined('BASEPATH') || exit('No direct script access allowed');
?>	<div id="tb" style="padding:10px;height:auto">
		<div>
			<select id="status" style="min-width:100px;">
				
<?php
foreach ($coins as $v) {
?>				<option 
<?php
	if ($coin['id'] == $v['id']) {
?>selected<?php
	}

?> value="<?php echo $v['id'];?>"><?php echo $v['cn_name'];?> <?php echo $v['en_name'];?></option>
				<?php
}

?>			</select>
			<script type="text/javascript">
			$(function(){
				$('#status').change(function(){
					location.href = '<?php echo site_url('coin_detail/index');?>?coin_id='+$(this).val();
				});
			});
			</script>
		</div>
		<div class="easyui-tabs detail-box">
			<div title="总量统计" class="detail_table">
				<dl><dt>总数量</dt><dd><?php echo $coin['sum'];?></dd></dl>
				<dl><dt>可用数量</dt><dd><?php echo $coin['num'];?></dd></dl>
				<dl><dt>冻结数量</dt><dd><?php echo $coin['num_frozen'];?></dd></dl>
				<dl><dt>收入数量</dt><dd><?php echo $coin['fill'];?></dd></dl>
				<dl><dt>支出数量</dt><dd><?php echo $coin['draw'];?></dd></dl>
				<div class="clear"></div>
			</div>
			<div title="转入转出统计" class="detail_table">
				<dl><dt>转入数量</dt><dd><?php echo $coin['fill'];?></dd></dl>
				<dl><dt>转出数量</dt><dd><?php echo $coin['draw'];?></dd></dl>
				<dl><dt>转出手续费</dt><dd><?php echo $coin['draw_fee'];?></dd></dl>
				<dl><dt>转入人数</dt><dd><?php echo $coin['fill_people'];?></dd></dl>
				<dl><dt>转出人数</dt><dd><?php echo $coin['draw_people'];?></dd></dl>
				<div class="clear"></div>
			</div>
			<div title="交易统计" class="detail_table">
				<dl><dt>交易数量</dt><dd><?php echo $coin['deal_sum'];?></dd></dl>
				<dl><dt>交易总额</dt><dd><?php echo $coin['deal_total'];?></dd></dl>
				<dl><dt>手续费<?php echo $coin['en_name'];?></dt><dd><?php echo $coin['xnb_fee'];?></dd></dl>
				<dl><dt>手续费CNY</dt><dd><?php echo $coin['cny_fee'];?></dd></dl>
				<dl><dt>买入人数</dt><dd><?php echo $coin['buy_deal_people'];?></dd></dl>
				<dl><dt>卖出人数</dt><dd><?php echo $coin['sell_deal_people'];?></dd></dl>
				<div class="clear"></div>
			</div>
			<div title="委托统计" class="detail_table">
				<dl><dt>委托数量</dt><dd><?php echo $coin['orders_sum'];?></dd></dl>
				<dl><dt>委托总额</dt><dd><?php echo $coin['orders_total'];?></dd></dl>
				<dl><dt>买入人数</dt><dd><?php echo $coin['buy_orders_people'];?></dd></dl>
				<dl><dt>卖出人数</dt><dd><?php echo $coin['sell_orders_people'];?></dd></dl>
				<div class="clear"></div>
			</div>
		</div>
	</div>